package com.hn658.user.core.service;

import java.util.Map;

import com.hn658.framework.dataaccess.pagination.GenericPage;
import com.hn658.user.common.entity.EmployeeEO;

/**
 * 
 * @author wangxiao
 *
 */
public interface IEmployeeService {
	
	
	/**
	 * 
	 * <p>分页查询员工信息列表</p> 
	 * @author wangxiao
	 * @date 2015-11-16 下午4:33:47
	 * @param queryMap
	 * @param limit
	 * @param start
	 * @param sortBy
	 * @param isAsc
	 * @return
	 * @see
	 */
	public GenericPage<EmployeeEO> queryEmployee(Map<String, Object> queryMap,
			int limit, int start, String sortBy, boolean isAsc);
	
	
	public EmployeeEO getEmployeeEOById(Long uid);
	
	/**
	 * 新增员工信息
	 * @param employeeEO
	 */
	public void addEmployee(EmployeeEO employeeEO);
	
	/**
	 * 删除员工信息
	 * @param id
	 */
	public void deleteEmployee(String id);
	
	/**
	 * 修改员工信息
	 * @param employeeEO
	 */
	public void updateEmployee(EmployeeEO employeeEO);
	
}
